package jianzhiOffer;

public class Num64 {
    public static void main(String[] args) {
        Num64 n = new Num64();
        System.out.println(n.sumNums(3));
    }
    public int sumNums(int n) {
        boolean x = n > 1 && (n += sumNums(n - 1)) > 0;
        return n;
    }
}
